//
//  SearchAddressCell.m
//  XDBaseFrameWork
//
//  Created by XD-XY on 9/24/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "SearchAddressCell.h"

@implementation SearchAddressCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.backgroundColor = [UIColor clearColor];
        [self makeViews];
    }
    return self;
}

-(void)makeViews
{
    self.titleLB = [UILabel initLabelText:@"" andRect:CGRectMake(41, 2, 540/2.0f, 25) andBackGroudColor:[UIColor clearColor] andTextFont:[UIFont systemFontOfSize:15.5] andTextColor:UIColorFromRGB(0x000000) andTextAlignment:NSTextAlignmentLeft];
    
    self.contentLB = [UILabel initLabelText:@"" andRect:CGRectMake(41,41/2.0f, 540/2.0f,47/2.0f) andBackGroudColor:[UIColor clearColor] andTextFont:[UIFont systemFontOfSize:13] andTextColor:UIColorFromRGB(0x000000) andTextAlignment:NSTextAlignmentLeft];
    
    self.downline = [[UIView alloc] initWithFrame:CGRectMake(0, 43.5, UI_SCREEN_WIDTH, 0.5)];
    _downline.backgroundColor = UIColorFromRGB(0xc8c7cc);
    
    [self.contentView addSubview:_titleLB];
    [self.contentView addSubview:_contentLB];
    [self.contentView addSubview:_downline];
    
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
